package com.job.gaoyue.day0705;

/**
 * @author ${高某}
 * @version 1.0
 * @since 2022-07-07 10:56:26
 */
public class Student0705 {
    //定义成员变量
    int height;//身高
    int weight;//体重
    int age;//年纪
    String strongPoint;//特长
    String name;//名字
    //定义成员方法
    public void ability(){
        System.out.println("好好学习，天天向上");
    }
    //有参
    public Student0705() {

    }

    public Student0705(int height, int weight, int age, String strongPoint, String name) {
        this.height = height;
        this.weight = weight;
        this.age = age;
        this.strongPoint = strongPoint;
        this.name = name;
    }
}